﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ITJZ.BitHelper.APIModel
{
  public  class User
    {
        #region 似有字段
        string uid;//用户身份唯一区分id
        string name;//用户的显示名称
        string email;//作为登陆账号
        string password;

        string regTime;//注册时间 
        #endregion

        string lastLoginIp;//上次登录的ip
        DateTime lastLoginTime;//上次登录的时间
        string stateKey;//登录状态密钥


        #region 属性
        //public bool IsLogin
        //{
        //    get { return false; }
        //}
        public string Uid
        {
            get { return uid; }
            set { uid = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        public string RegTime
        {
            get { return regTime; }
            set { regTime = value; }
        }
        #endregion


        public string LastLoginIp
        {
            get { return lastLoginIp; }
            set { lastLoginIp = value; }
        }

        public DateTime LastLoginTime
        {
            get { return lastLoginTime; }
            set { lastLoginTime = value; }
        }

        public string StateKey
        {
            get { return stateKey; }
            set { stateKey = value; }
        }

    }
}
